home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-ppc-src / pasm / ehf.h < prev    next >
Text File  |  1999-01-01  |  2KB  |  66 lines

  1. /* $VER: pasm elf.h V1.1b (05.07.98)
  2.  *
  3.  * This file is part of pasm, a portable PowerPC assembler.
  4.  * Copyright (c) 1997-98  Frank Wille
  5.  *
  6.  * pasm is freeware and part of the portable and retargetable ANSI C
  7.  * compiler vbcc, copyright (c) 1995-98 by Volker Barthelmann.
  8.  * pasm may be freely redistributed as long as no modifications are
  9.  * made and nothing is charged for it. Non-commercial usage is allowed
  10.  * without any restrictions.
  11.  * EVERY PRODUCT OR PROGRAM DERIVED DIRECTLY FROM MY SOURCE MAY NOT BE
  12.  * SOLD COMMERCIALLY WITHOUT PERMISSION FROM THE AUTHOR.
  13.  *
  14.  *
  15.  * v1.1b  (05.07.98) phx
  16.  *        Included CHIP and FAST flags.
  17.  * v0.4   (28.06.97) phx
  18.  *        File created.
  19.  */
  20.  
  21.  
  22. /* Amiga DOS Hunks */
  23. #define HUNK_UNIT 999
  24. #define HUNK_NAME 1000
  25. #define HUNK_CODE 1001
  26. #define HUNK_DATA 1002
  27. #define HUNK_BSS 1003
  28. #define HUNK_ABSRELOC32 1004
  29. #define HUNK_RELRELOC16 1005
  30. #define HUNK_RELRELOC8 1006
  31. #define HUNK_EXT 1007
  32. #define HUNK_SYMBOL 1008
  33. #define HUNK_DEBUG 1009
  34. #define HUNK_END 1010
  35. #define HUNK_HEADER 1011
  36. #define HUNK_DREL32 1015
  37. #define HUNK_DREL16 1016
  38. #define HUNK_DREL8 1017
  39. #define HUNK_RELRELOC32 1021
  40. #define HUNK_ABSRELOC16 1022
  41.  
  42. /* EHF extensions */
  43. #define HUNK_PPC_CODE 1257
  44. #define HUNK_RELRELOC26 1260
  45.  
  46. /* memory type */
  47. #define HUNKB_CHIP    30
  48. #define HUNKB_FAST    31
  49. #define HUNKF_CHIP    (1L<<30)
  50. #define HUNKF_FAST    (1L<<31)
  51.  
  52. /* hunk_ext sub-types */
  53. #define EXT_SYMB 0
  54. #define EXT_DEF    1
  55. #define EXT_ABS    2
  56. #define EXT_ABSREF32 129
  57. #define EXT_RELREF16 131
  58. #define EXT_RELREF8 132
  59. #define EXT_DEXT32 133
  60. #define EXT_DEXT16 134
  61. #define EXT_DEXT8 135
  62. #define EXT_RELREF32 136
  63.  
  64. /* EHF extensions */
  65. #define EXT_RELREF26 229
  66.